home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-1.iso / Files / Util / M / MacDOS 3.0.sit / MacDOS 3.0 ƒ / executables / batches / movedir.bat < prev    next >
Encoding:
DOS Batch File  |  1994-06-30  |  507 b   |  18 lines  |  [TEXT/mDOS]

  1. @echo off
  2. !  movedir.bat    Batch file to move a folder to another folder
  3. !
  4. !  movedir name [dest]
  5. !
  6. !  where 'name' is the folder to be cmoved and 'dest' is the folder which
  7. !  shall contain 'name'. Both names can be preceded by paths and volume IDs.
  8. !  If 'dest' is missing, the current directory is used as destination.
  9. !
  10. !  movedir.bat calls copydir and deldir
  11. !
  12. !  Copyright © 1994 by Rainbow Hill Pty Ltd. All rights reserved.
  13. !
  14.  
  15.     set doserr=0
  16.     call copydir "%1" "%2"
  17.     if %doserr% == 0 deldir "%1"
  18.